<template>
  <div>
    <router-view></router-view>
    <!-- 底部tab栏 ↓ -->
    <van-tabbar v-model="active" route active-color="#00b8d4" inactive-color="#545671">
      <van-tabbar-item to="/company" name="company" icon="home-o">
        <span>公司</span>
        <template #icon>
          <i class="iconfont iconicon_footbar_gs_sel"></i>
        </template>
      </van-tabbar-item>

      <van-tabbar-item to="/question" name="question" icon="search">
        <span>刷题</span>
        <template #icon>
          <i class="iconfont iconicon_footbar_st_sel"></i>
        </template>
      </van-tabbar-item>

      <van-tabbar-item to="/find" name="find" icon="friends-o">
        <span>发现</span>
        <template #icon>
          <i class="iconfont iconicon_footbar_fx_nor"></i>
        </template>
      </van-tabbar-item>

      <van-tabbar-item to="/my" name="my" icon="friends-o">
        <span>我的</span>
        <template #icon>
          <i class="iconfont iconicon_footbar_wode_nor"></i>
        </template>
      </van-tabbar-item>
    </van-tabbar>
  </div>
  <!-- <van-button type="primary">主要按钮</van-button> -->
  <!-- <i class="iconfont iconicon_dianzanliang"></i> -->
  <!-- <div class="pxtorem">1111</div> -->
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
      active: 'company'
    }
  }
}
</script>

<style lang="less">
  // .pxtorem {
  //   background-color: @main-color;
  //   height: 100px
  // }
</style>
